IBM Support

PI77580: ABILITY TO CHANGE/SELECT THE DEFAULT ".LOG" PATH WHEN IMPORTING RECORDS USING CLEARQUEST ECLIPSE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • When importing records using the ClearQuest Eclipse client, the
    default ".log" path (Eg.: C:\<users>\<userid>) is not easy to be
    changed to a different path.
    
    It is necessary to make this ".log" path change/selection
    easier.
    
    Workaround:
    
    There is a bug in java (not ClearQuest) for the call
    System.getProperty("user.home"):
    
    http://bugs.java.com/view_bug.do?bug_id=4787931
    
    The call should be retrieving the homepath or userprofile, but
    this is not what it does here because of this bug.
    
    If you go into the registry and change the value of:
    
    "[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ex
    plorer\Shell Folders\Desktop]"
    
    From C:\users\<userid> to a value like c:\temp\nonsense it will
    use the value c:\temp\ on the next time you start cqec.
    
    You have to have a directory c:\temp but not necessarily
    c:\temp\nonsense since the way this bug is functioning is going
    to strip 'nonsense' out of the equation anyway.
    
    When cqec starts again you will see the initial "welcome to
    Clearquest..." cqec screen - that's because that new reg value
    causes the C:\temp\.Rational (rcp configuration) to be recreated
    in the new location.
    
    If that doesn't happen then it didn't work.  If it did work the
    next import will create the log in c:\temp.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ClearQuest Eclipse                                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When importing records using the ClearQuest Eclipse client,  *
    * the default ".log" path, i.e., the user's home directory     *
    * (for example, C:\Users\John Smith), can not easily be        *
    * changed to a different path.                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • A fix is available in ClearQuest 9.0.0.5 and 9.0.1.1
    The path where the import logs are generated can now be changed
    by setting the CLEARQUEST_IMPORT_LOG_DIR environment variable.
    Just set the CLEARQUEST_IMPORT_LOG_DIR environment variable and
    restart the ClearQuest Eclipse client, and it will generate the
    import logs under the path you specified.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI77580

  • Reported component name

    CLEARQUEST WIN

  • Reported component ID

    5724G3600

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-03

  • Closed date

    2017-09-14

  • Last modified date

    2017-09-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    CLEARQUEST WIN

  • Fixed component ID

    5724G3600

Applicable component levels

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH5A","label":"Rational ClearQuest"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"801","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
18 October 2021